	
/****** Object:  Stored Procedure TerritoriesUpdate    Script Date: Monday, December 10, 2007 ******/
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[spTerritoriesUpdate]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [spTerritoriesUpdate]
GO

	
	

	
/******************************************************************************
**		File: 
**		Name: spTerritoriesUpdate
**		Desc: 
**
**		Return values:
** 
**		Called by:   
**              
**		Parameters:
**		Input							Output
**     ----------							-----------
**
**		Auth: CodeSmith
**		Date: 12/10/2007 10:20:43 PM
*******************************************************************************
**		Change History
*******************************************************************************
**		Date:		Author:				Description:
**		--------		--------				-------------------------------------------
**    
*******************************************************************************/
CREATE PROCEDURE spTerritoriesUpdate
	@TerritoryID int, 
	@Description nvarchar(100), 
	@CountryID int 
AS

UPDATE [Territories] SET
	[Description] = @Description,
	[CountryID] = @CountryID
WHERE
	[TerritoryID] = @TerritoryID

GO
